using MediatR;
using SmartTracking.ErrorCode;
using System.Collections.Generic;

namespace SmartTracking.ApiWrite.Applications.Commands.Ewemating
{
    /// <summary>
    /// 批量添加母羊配种
    /// </summary>
    public class AddBatchWeaningsCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 母羊配种列表
        /// </summary>
        public List<AddWeaningsCommand> WeaningsList { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? ResponsibleFor { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? MainWeaningTime { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string? SerialNumber { get; set; }
    }
}